<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
	<link rel="stylesheet" type="text/css" href="../css/style.css">
    <s:head theme="ajax"/>
    <style>td { white-space:nowrap; }</style>
    <title>Sistema Inner - Ativação de Usuário</title>
</head>

<script language="javascript" type="text/javascript">
function formSubmit(){
	document.forms[0].submit();
}
</script>

<body style="background-color: #73160f;" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">

<center>
<s:actionerror />
<s:actionmessage />

<s:form action="cadUsu_ativar" method="post">

<table width="500" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td align="center" valign="top">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td><img src="../images/ativar-usuario-top.gif" /></td>
		</tr>
		<tr>
			<td align="center" background="../images/cadastro-usuario-middle.gif" style="background-repeat: repeat-y;">
				<table width="90%" cellpadding="5" cellspacing="0" border="0">
				<tr>
					<td colspan="2">
					    <s:textfield name="usuario.nmUsuario" cssClass="inputTexto" value="%{usuario.nmUsuario}" label="%{getText('label.ativar.usuario')}" size="40"/>
					    
					    <s:password name="usuario.passUsuario" cssClass="inputTexto" value="%{usuario.passUsuario}" label="%{getText('label.ativar.usuario.senha')}" size="20"/>
					
					    <s:hidden name="usuario.cdUsuario" value="%{usuario.cdUsuario}"/>
					    <!--<s:submit value="%{getText('botao.label.cadastrar')}"/>-->
					</td>
  			    </tr>
				<tr>
					<td colspan="2" align="center"><br />
					    <!-- BOTÕES -->
					    <table width="160" cellpadding="3" cellspacing="0" border="0">
					    <tr>
					    	<td colspan="2" align="center"><img src="../images/button-separator.gif" style="cursor: pointer;" /></td>
					    </tr>
					    <tr>
					    	<td width="80" align="center"><img src="../images/botao-ativar-usuario.gif" style="cursor: pointer;" onclick="formSubmit();" /></td>
					    </tr>
					    </table>
					</td>
				</tr>
				 </table>
			</td>
		</tr>
		<tr>
			<td><img src="../images/cadastro-usuario-bottom.gif" /></td>
		</tr>
		</table>
	</td>
</tr>
</table>
    
</s:form>
</body>
</html>